﻿CREATE TABLE [dbo].[log] (
    [ID]           BIGINT         IDENTITY (1, 1) NOT NULL,
    [DataExecutie] DATETIME       NOT NULL,
    [SQLCommand]   VARCHAR (8000) NOT NULL,
    [UserName]     VARCHAR (50)   NOT NULL,
    [IPAddress]    VARCHAR (20)   NOT NULL,
    [Result]       INT            NOT NULL,
    [ErrorMessage] VARCHAR (8000) NOT NULL,
    CONSTRAINT [PK_log201404] PRIMARY KEY CLUSTERED ([ID] ASC)
);

